import request from '@/utils/request'
//思政元素接口
export function sysIdeologicalContentQuery(data) { //思政元素信息分页列表
    return request({
        method: 'get',
        url: '/sysIdeologicalContent/query',
        params: data
    })
}

export function sysIdeologicalContentQueryById(id) { //查询一条思政元素信息
    return request({
        method: 'get',
        url: '/sysIdeologicalContent/query/' + id,
    })
}

export function sysIdeologicalContentAdd(data) { //添加一条思政元素信息
    return request({
        method: 'post',
        url: '/sysIdeologicalContent/add',
        data
    })
}

export function sysIdeologicalContentDelete(id) { //删除一条思政元素信息
    return request({
        method: 'get',
        url: '/sysIdeologicalContent/delete/' + id,
    })
}

export function sysIdeologicalContentUpdate(data) { //修改一条思政元素信息
    return request({
        method: 'post',
        url: '/sysIdeologicalContent/update',
        data
    })
}